package com.app.micaihu.bean.news;

import android.text.TextUtils;

/**
 * 视频频道
 * Created by linkai on 2016/9/7.
 */
public class VideoChannel {

    private String id;
    private String title;
    private String icon;
    private String desc;
    private String isUpdate;//是否有更新 1是 0否

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public boolean getIsUpdate() {
        if(TextUtils.equals(isUpdate,"1")){
            return true;
        }
        return false;
    }

    public void setIsUpdate(String isUpdate) {
        this.isUpdate = isUpdate;
    }

    public String getIdentification(){
        return "yuanchuang_"+id;
    }
}
